package com.cx.service.fhy.impl;

import com.cx.mapper.UserMapper;
import com.cx.pojo.User;
import com.cx.service.fhy.IdentityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IdentityServiceImpl implements IdentityService {

    @Autowired
    UserMapper userMapper;

    @Override
    public int updateUser(Integer userId, String userIdentity) {
        return userMapper.updateUser(userId,userIdentity);
    }
}
